//
//  Post1ViewController.h
//  SpendFunk
//
//  Created by dongmh on 4/23/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Foursquare.h"

extern NSMutableDictionary *SpendInfo;
@interface Post1ViewController : UIViewController <UITableViewDelegate, UITableViewDataSource> {
	///
	UIButton *m_pBtnBack;
	UIButton *m_pBtnNext;
	UITableView *m_pTablePost1;
	
	NSMutableData *m_pWebData;
	NSString *currentElementValue;
	NSString *currentElement;
	BOOL isContinueParse;
	int rowSlected;
	
	// Please wait ...
	UIView *_blockerView;
	//where
	NSArray *m_pArrNearbyPlaces;
	Foursquare *m_pFoursquare;
	// cate
	NSMutableDictionary *m_pDicCateInfo;
	NSMutableArray		*m_pArrCate;
	int iCountCate;
}
-(void)initView;
-(void)onClickBack;
-(void)onClickNext;
- (void)requestWith:(int)rowSeleted;
//- (void)addSpendwithCateid:(NSString*)cateid userid:(NSString*)userid titleSpend:(NSString*)ttle amount:(int)amount picture:(UIImage*)img location:(NSString*)location;
- (void)getNearbyPlaceWithgeoLat:(double)lat andGeoLong:(double)lng;
- (void)getAllCateWithlimit:(int)limit offset:(int)offset;
@end
